package lyo.levelup.swing.classwork;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.WindowConstants;

public class showIP extends JFrame
{
   private JFrame myFrame = new JFrame ("MyFrame");
    public void drawFrame()
    {
       //textPanel tp = new textPanel();
        
        JavaComponent jc = new JavaComponent();
        myFrame.setSize(300, 200);
        myFrame.setLocation(500, 300);
        myFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        //myFrame.add(tp);
        myFrame.add(jc);
        myFrame.setVisible(true);
    }
}